package com.dongdongshop.service;

import com.dongdongshop.pojo.TbOrder;
import com.dongdongshop.pojo.TbUser;
import com.dongdongshop.vo.OrderPayment;

import java.util.List;

public interface OrderService {
    OrderPayment addOrder(TbOrder order, TbUser user);

    void insertTradeNo(String out_trade_no, String trade_no);

    List<TbOrder> selectByOrderNum(String orderNum, String tradeNo);

    List<TbOrder> selectByUserName(String name);

    void orderRefundByTradeNo(String out_trade_no);

    Integer selectByYesterday();

    Integer selectByToday();
}
